home *** CD-ROM | disk | FTP | other *** search
- "FILE"="Xteq Systems X-Setup Plugin 3.1"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="General Usage\Misc"
- "NAME"="DOS-AutoComplete"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Activate DOS-AutoComplete"
- "DESCRIPTION 1"="If this option is activated, you can use the TAB key in a CMD-Box (cmd.exe) to AutoComplete your current command."
- "DESCRIPTION 2"="It's similar to the AutoComplete function of Internet Explorer."
- "DESCRIPTION 3"="Note: This settings is currently available in Windows NT only."
- "AUTHOR"="Xteq Systems"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
- "COMMENT 2"="Version 1.2"
-
-
- sp="HKCU\Software\Microsoft\Command Processor\CompletionChar"
-
- Sub Plugin_Initialize
- if RegPathExists("HKCU\Software\Microsoft\Command Processor\") then
- if RegReadValue(sp)=9 then
- SetUIElement 1,true
- end if
- else
- Disable
- end if
- End Sub
-
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
-
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- b=GetUIElement(1)
- if b=true then
- Call RegWriteValue(sp,9,2)
- else
- Call RegWriteValue(sp,0,2)
- end if
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-